package com.financing.platform.service.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IBankCardDao;
import com.financing.platform.dto.BankCardDTO;
import com.financing.platform.service.IBankCardService;
import com.financing.platform.util.SqlName;
import com.financing.platform.vo.BankCardVO;

/**
 * @Title: BankCardServiceImpl.java
 * @Package com.financing.platform.service.impl
 * @Description: 银行卡service接口实现 
 * @author  lisu
 */
@Service("bankCardServiceImpl")
public class BankCardServiceImpl extends BaseServiceImpl implements IBankCardService {
	
	@Autowired
	private IBankCardDao bankCardImpl;
	
	public List<BankCardVO> queryBankCardList(BankCardVO bankCardVO)
			throws SQLException {
		return bankCardImpl.queryBankCardList(bankCardVO);
	}
	
	public int queryBankCardListCount(BankCardVO cardVO) throws SQLException {
		return bankCardImpl.queryBankCardListCount(cardVO);
	}

	public int updateBankCard(BankCardDTO bankCardDTO) throws SQLException {
		return 0;
	}

	public int insertBankCard(BankCardDTO bankCardDTO) throws SQLException {
		return bankCardImpl.insertBankCard(bankCardDTO);
	}

	public int deleteBankCard(BankCardDTO bankCardDTO) throws SQLException {
		return bankCardImpl.deleteBankCard(bankCardDTO);
	}


}

	